//
//  ActiveCircleView.h
//  iMoc
//
//  Created by 微我网络 on 15/1/12.
//  Copyright (c) 2015年 lamcelot. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface ActiveCircleView : UIView

typedef NS_ENUM(NSInteger, ActiveCircleStyle) {
    
    ActiveCircleStyleBlur,
    ActiveCircleStylePie
};

@property (nonatomic) UIColor *ringColor;

@property (nonatomic) UIColor *ringBackGroundColor;

@property (nonatomic,strong) UIView *contentView;

- (instancetype)initWithCenter:(CGPoint)point width:(CGFloat)width style:(ActiveCircleStyle)style;

//angle's value is 0 to 360.f
- (void)startAnimationWithAngle:(CGFloat)angle;

- (void)strokePieWithValue0:(CGFloat)value0 value1:(CGFloat)value1 value2:(CGFloat)value2;

@end
